<?php
session_start();
include 'conn.php';

include_once 'admin/checkLogin.php';
$flag = 0;
?>
<!DOCTYPE>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- <link rel="icon" href="./images/icon.ico"> -->
    <link rel="stylesheet" type="text/css" href="./css/general.css">
    <link rel="stylesheet" type="text/css" href="./css/index.css">
    <link rel="stylesheet" type="text/css" href="./css/bootstrap.css">
    <script type="text/javascript" src="./js/bootstrap.js"></script>
    <script type="text/javascript" src="./js/jquery.js"></script>
    <script type="text/javascript" src="./js/general.js"></script>
    <script type="text/javascript" src="./js/carousel.js"></script>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="https://cdn.staticfile.org/angular.js/1.4.6/angular.min.js"></script>
    <title>simple_shop_demo</title>
</head>
<style>
    #contact-area {
        padding: 110px 0 120px;
    }

    .contact-box {
        -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        padding: 50px 50px 35px;
        background-color: #fff;
        border-radius: 6px;
    }

    .contact-box input {
        height: 50px;
        border: 1px solid #f7f6f5;
        font-size: 15px;
        background-color: #f7f6f5;
        font-weight: 500
    }

    .contact-box textarea {
        border: 1px solid #f7f6f5;
        padding-top: 10px;
        background-color: #f7f6f5;
        font-size: 15px;
        font-weight: 500
    }

    .contact-box button {
        background-color: #325eff;
        border: 0;
        color: #fff;
        padding: 10px 30px;
        border-radius: 4px;
        cursor: pointer;
        outline: 0;
        font-weight: 500;
        font-size: 15px
    }

    .contact-box button:hover {
        background-color: #0f39cf;
    }
</style>
<body>
<!-- 顶部开始 -->


<!-- 头部开始 -->
<?php include 'header.php'; ?>
<!-- 头部结束 -->
<div style="margin-left: 12%">
    <div class="container">
        <div class="row">
            <div class="col-lg-10 offset-lg-1">
                <div class="contact-box text-center">
                    <form id="ajax-contact" action="admin/doComment.php" method="post">
                        <div class="form-group row">
                            <div class="col-lg-6"><input type="text" class="form-control" id="name" name="name"
                                                         placeholder="您的称呼" required=""></div>
                            <div class="col-lg-6"><input type="email" class="form-control" id="email" name="email"
                                                         placeholder="Email*" required=""></div>
                        </div>
                        <div class="form-group"><input type="text" class="form-control" id="subject" name="subject"
                                                       placeholder="标题*"></div>
                        <div class="form-group"><textarea class="form-control" id="message" name="message" rows="10"
                                                          placeholder="留言内容" required=""></textarea></div>
                        <button type="submit">提 交</button>
                        <div id="form-messages"></div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<!--<div class="btn-group-vertical" role="group" aria-label="...">-->
<?php include 'footer.php'; ?>
